<?php
require 'kernel/common.php';
if(!$Session->check_admin()) redirect('index.php');
if(!$to_install = retrieve('GET','plugins_to_install',true)) redirect('index.php');
$install_module = true;
if(is_file('plugins/'.$to_install.'/inc/install_'.$basesql['type'].'.php')) require 'plugins/'.$to_install.'/inc/install_'.$basesql['type'].'.php';
redirect('plugins_gestion.php',20);
require_once 'footer.php';
?>